/*
 * Personal website of UltrasonicMadness
 * Copyright (C) 2017-2018, 2021-2023 UltrasonicMadness
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>. 
 */

html
{
    height:100%;
}

body
{
    font-family:sans-serif;
    margin:0;
    padding:0;
    min-height:100%;
    
    display:flex;
    flex-flow:column;
}

h1, h2, h3, h4, h5, h6, p
{
    margin-left:2mm;
    margin-right:2mm;
}

#main-logo-container
{
    display:flex;
}

#main-logo-container a
{
    flex:1;
    background-color:#000;
    width:100%;
}

#main-logo-container img
{
    display:block;
    margin:auto;
    width:50%;
}

nav
{
    display:flex;
    flex-flow:row;
    width:100%;
    
    padding-left:0;
    padding-right:0;
    
    margin:0;
}

nav a
{
    flex:1;
    width:100%;
    height:100%;
    line-height:2em;
    text-align:center;
    text-decoration:none;
}

#page-pane
{
    display:flex;
    flex-flow:column;
    flex:1;
}

main h1
{
	margin-top:0;
    margin-bottom:0;
	font-weight:100;
    text-align:center;
}

footer
{
    flex:1;
}

.app-container
{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    width:95%;
}

.app-container div
{
    width:25%;
    padding:0.5em;
}

.app-container div img
{
    border-radius:15%;
    display:block;
    margin:auto;
    width:100%;
    border-width:2px;
    border-style:solid;
    border-color:#000;
}

.app-container div a
{
    display:block;
    width:100%;
    padding:0.5em;
    text-align:center;
    text-decoration:none;
    border-radius:15%;
}

.app-container div a:focus
{
    outline:none;
}

#social img
{
    width:100%;
}

#social a
{
    display:inline-block;
    width:20%;
    padding:0;
    margin:0;
}

#usm-latest
{
    width:60%;
    margin-top:2mm;
    margin-bottom:2mm;
    
    margin-left:auto;
    margin-right:auto;
}

#usm-latest a
{
    text-decoration:none;
}

#usm-latest ul
{
    max-height:80mm;
}

#usm-latest
{
    float:right;
    width:45%;
    margin:2mm;
}
